package com.comeon.array;

import java.lang.reflect.Array;

public class testString {
	
	private static char value[];
	
	private String str="123568";
	
	public char chatAt(int index){
		

		if(index<0||index>=value.length){
			throw new StringIndexOutOfBoundsException(index);
		}
		return value[index];
	}
	
	
	public boolean equals(Object anString){
		if(this == anString){
			return true;
		}
		if(anString instanceof String){
			String abString = (String) anString;
			int n = str.length();
			if(n==abString.length()){
				char v[]=value;
				
			}
		}
		return false;
	}

}
